Title:   Narcissism in political participation
Authors: Zoltan Fazekas and Peter K Hatemi
Date:    March 2020
Journal: Personality and Social Psychology Bulletin
---

Brief introduction:

Here you can find data and scripts to produce the analysis in the main text of "Narcissism in Political Participation". The data files are supplied for the sole purposes of reproducing the materials in the paper. Please get in touch with the authors regarding data use for different purposes and original files, we are happy to help.

Contents:

1.  Data

Raw data:
	
	* dk11.csv, us13.csv, us15.csv: these are the only datasets necessary to reproduce the analysis. Raw data from the studies/surveys with all variables described in the paper's (online Appendix). Preparation scripts contain additional information.

	* dk11-reg.csv, us13-reg.csv, us15-reg.csv: processed data files that will serve as input for the regression analysis. They can be created by running the first three scripts on the raw data files.
	* model-coef-all.csv, turnout-coef-all.csv: regression results saved as data for plotting and summary.

The processed datasets are supplied for convenience and exact reproducibility.

2. Code

Important: the order follows raw data processing (0-), descriptives and modeling (1- and 2-) where inputs are the processed datasets, and plotting script (3-) where input is regression result data.

All R scripts contain a sessionInfo() at the end.

0-1-prepare_dk11.R, 0-1-prepare_us13.R, 0-1-prepare_dk15.R: recoding and preprocessing, including measurement and item  summaries.

1-descriptives_all.R: correlations reported in the appendix. 

2-multivariate_all.R: fitting regression models and table summary.

3-plot_all.R: create summary plots reported in paper.

